import request from '@/util/request'

export const add_Good = (data) => {
    return request({
        url: '/good/addGood',
        method: 'post',
        data
    })
}


export const list_Good = (data) => {
    return request({
        url: '/good/listGoods',
        method: 'get'
    })
}

export const del_Good = (id) => {
    return request({
        url: '/good/delGoods/'+id,
        method: 'delete'
    })
}
export const modify_GoodStatus = (id,status) => {
    return request({
        url: '/good/modifyStatus/'+id+'/'+status,
        method: 'get'
    })
}
